package com.itqian.seller.service;

import com.itqian.seller.dto.BarDTO;
import com.itqian.seller.entity.FoodInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 菜品信息表 服务类
 * </p>
 *
 * @author shishuqian
 * @since 2022-03-21
 */
public interface FoodInfoService extends IService<FoodInfo> {

    /**
     *
     * @author shishuqian
     * @desc 分页查询该店铺的所有菜品
     */
    Map<String,Object> list(Integer storeId,Integer page,Integer size);

    /**
     *
     * @author shishuqian
     * @desc
     */
    Map<String, Object> findAllByCategory(Integer categoryId,Integer page,Integer size);


}
